"======================================================================
"
" init-plugins.vim - 插件声明
"
"======================================================================

let s:plugin_dir=$XDG_CONFIG_HOME
call plug#begin(s:plugin_dir.'/plugins')

" UI
Plug 'mhinz/vim-startify'                                                " 启动页
Plug 'itchyny/lightline.vim'                                             " 状态栏
Plug 'mengelbrecht/lightline-bufferline'                                 " 状态栏增强
Plug 'ryanoasis/vim-devicons'                                            " 文件图标
Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' }                " 文件树
Plug 'kristijanhusak/defx-icons'                                         " 文件树图标
Plug 'kristijanhusak/defx-git'                                           " 文件树Git
Plug 'joshdick/onedark.vim'                                              " 主题
Plug 'Yggdroot/indentLine'                                               " 缩进线
Plug 'psliwka/vim-smoothie'                                              " 平滑移动
Plug 'liuchengxu/vim-which-key'                                          " 快捷键导航
Plug 'skywind3000/vim-terminal-help'
" Git
Plug 'airblade/vim-gitgutter'                                            " Git变更显示
Plug 'tpope/vim-fugitive'                                                " Git工具包
Plug 'junegunn/gv.vim'
" 语法高亮
Plug 'uiiaoo/java-syntax.vim'                                            " Java语法高亮增强
Plug 'sheerun/vim-polyglot'
" 快速编辑
Plug 'easymotion/vim-easymotion'                                         " 快速移动 
Plug 'lyokha/vim-xkbswitch'                                              " 输入法自动切换
Plug 'tpope/vim-surround'                                                " 结对符号编辑增强
Plug 'jiangmiao/auto-pairs'                                              " 自动括号
Plug 'junegunn/vim-easy-align'                                           " 自动对齐
Plug 'honza/vim-snippets'                                                " 代码片段
" 查询与跳转
Plug 'Yggdroot/LeaderF'                                                  " 文件查询
Plug 'majutsushi/tagbar'                                                 " Tag列表
" 自动补全
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" 语言
Plug 'mtdl9/vim-log-highlighting'                                        " 日志高亮

call plug#end()

